package com.ly.airline.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

/**
 * @author ：xxl
 * @ClassName Admin
 * @date ：Created in 2022/4/29 3:00
 * @description： TODO
 * @modified By：
 * @version: 1.0
 */
@ApiModel(value = "com.ly.airline.pojo.Admin")
@Data
@TableName(value = "t_admin")
public class Admin implements Serializable {
    @TableId(value = "userId", type = IdType.AUTO)
    @ApiModelProperty(value = "null")
    private Integer userid;

    @TableField(value = "userName")
    @ApiModelProperty(value = "null")
    private String username;

    @TableField(value = "userPw")
    @ApiModelProperty(value = "null")
    private String userpw;

    @TableField(value = "is_delete")
    @ApiModelProperty(value = "null")
    private Integer isDelete;

    private static final long serialVersionUID = 1L;

    public static final String COL_USERID = "userId";

    public static final String COL_USERNAME = "userName";

    public static final String COL_USERPW = "userPw";

    public static final String COL_IS_DELETE = "is_delete";
}